﻿using handyTest.Common;
using handyTest.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace handyTest.ViewModel
{
    class MainViewModel 
    {
        public MainModel MainModel { get; set; }
        public CommandBase BtnCommand { get; set; }


        public MainViewModel()
        {
            //this.MainModel = new MainModel();
            //this.MainModel.TestName = "张三";
            //this.BtnCommand = new CommandBase();
            //this.BtnCommand.DoExecute = new Action<object>((c)=> {
            //    (c as Window).Close();
            //});

            //this.BtnCommand.DoCanExecute = new Func<object, bool>((c)=> { return true; });
        }




    }
}
